module Func
    Version = "1.0.0"

    def v
        return Version
    end

    def add(a,b)
        return a + b
    end

    def self.ShowVersion
        return Version
    end

    module_function :v

end

puts Func::Version
puts Func.ShowVersion
#puts Func::ShowVersion
puts Func.v


class BaseFunc include Func
end

puts BaseFunc::Version

myCls = BaseFunc.new
puts myCls.add(1,2)


